package com.example.dml.strategy_pattern.pay;

/**
 * @description:
 * @author: gaoyang
 * @date: 2021/10/28 21:52
 */
public class PayState {
    private int code;
    private Object data;
    private String msg;

    public PayState(int code, Object data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "支付状态[" + code +"],"+msg+",交易详情"+data;
    }
}
